package com.gwkj.zxjl_user.HttpRequest;

import cz.msebera.android.httpclient.Header;

/**
 * Created by fujh on 15/10/10.
 */
public interface HttpRequestListener {

    void onSuccessRequest(int key, int statusCode, Header[] headers, String responseString);

    void onFailureRequest(int key, int statusCode, Header[] headers, String responseString, Throwable error);

    void onFinishedRequest(int key);

    //void onProcessRequest(int key, long bytesWritten, long totalSize);
}
